<style>
  .basemenus3_table1 {
    width: 138px;
    height: 180px;
  }
  .basemenus3_table2 {
    width: 140px;
    height: 60px;
  }
  .basemenus3_table3 {
    width: 138px;
    height: 30px;
    background-color: #ebebe3;
  }
  .basemenus3_td1 {
    background-image: url(images/common/headline.png);
    background-repeat: repeat-x;
    border-right: solid 1px #8F8F8A;
    font-size: 11pt;
    font-weight: bold;
    COLOR:#694247;
    width: 140px;
    height: 25px;
    text-align: left;
    vertical-align: middle;
    padding: 0 0 0 13px;
  }
  .basemenus3_td2 {
    border-right:solid 1px #b3b3ba;
    border-left:solid 1px #ffffff;
    height: 5px;
    background-color:#ebebe3;
  }
  .basemenus3_td3 {
    background-color:#ebebe3;
    height: 30px;
    border-right:solid 1px #b3b3ba;
    border-left:solid 1px #ffffff;
  }
  .basemenus3_td4 {
    background-color:#ebebe3;
    height: 6px;
    border-right:solid 1px #b3b3ba;
    border-left:solid 1px #ffffff;
    border-bottom:solid 1px #8f8f8a;
  }
  .basemenus3_td5 {
    padding: 0 0 0 8px;
    font-size: 13px;
    font-weight: bold;
    font-family: 宋体;
    color: #633e36;
    height: 30px;
    cursor: pointer;
  }
  .basemenus3_td6 {
    padding: 0 0 0 8px;
    font-size: 13px;
    font-weight: regular;
    font-family: 宋体;
    color: #633e36;
    height: 30px;
    cursor: pointer;
  }
  .basemenus3_td6:hover,.basemenus3_td5:hover  {
    color:#ff8800;
  }
  .basemenus3_td7 {
    background-color: #e1d6c6;
    padding: 0 0 0 8px;
    font-size: 13px;
    font-weight: bold;
    font-family: 宋体;
    color: #633e36;
    height: 22px;
  }
  .basemenus3_td71 {
    background-color: #ebebe3;
    padding: 0 0 0 8px;
    font-size: 13px;
    font-weight: bold;
    font-family: 宋体;
    color: #633e36;
    height: 22px;
  }

</style>
{{if $menu->a == 1}}
  {{if $menu->b == 1}}
    <div class="basemenus3_div">
      <table class="basemenus3_table1" cellPadding="0" cellSpacing="0">
        <tr>
          <td class="basemenus3_td1">
            Manage Tasks
          </td>
        <tr>
        <tr>
          <td class="basemenus3_td2"></td>
        </tr>
        <tr>
          <td class="basemenus3_td3">
            <table class="basemenus3_table1" cellPadding="0" cellSpacing="0">
              <tr>
                <td class="basemenus3_td5" {{if $menu->d == 1}} style="color: #ff8800" {{/if}} onclick="location.href='?p=pagefactory&t=pageb1factoryworks&m={%22a%22:1,%22b%22:1,%22c%22:1,%22d%22:1}'">全部任务<span id="factory_tasks_factoryTasks_span"></span></td>
              </tr>
              <tr>
                <td class="basemenus3_td7">接收任务</td>
              </tr>
              <tr>
                <td class="basemenus3_td6" {{if $menu->d == 2}} style="color: #ff8800" {{/if}} onclick="location.href='?p=pagefactory&t=pageb1receive&m={%22a%22:1,%22b%22:1,%22c%22:1,%22d%22:2}'">接收产品<span id="factory_tasks_receive4x6_span"></span></td>
              </tr>
              <tr>
                <td class="basemenus3_td7">产品任务</td>
              </tr>
              <tr>
                <td class="basemenus3_td6" {{if $menu->d == 3}} style="color: #ff8800" {{/if}} onclick="location.href='?p=pagefactory&t=pageb1downloadprint&m={%22a%22:1,%22b%22:1,%22c%22:1,%22d%22:3}'">下载打印大样<span id="factory_tasks_downloadAndPrint_span"></span></td>
              </tr>
              <tr>
                <td class="basemenus3_td6" {{if $menu->d == 4}} style="color: #ff8800" {{/if}} onclick="location.href='?p=pagefactory&t=pageb1manufacture&m={%22a%22:1,%22b%22:1,%22c%22:1,%22d%22:4}'">完成产品<span id="factory_tasks_complete_span"></span></td>
              </tr>
              <tr>
                <td class="basemenus3_td7">自定义任务</td>
              </tr>
              <tr>
                <td class="basemenus3_td6" {{if $menu->d == 5}} style="color: #ff8800" {{/if}} onclick="location.href='?p=pagefactory&t=pageb1factorycustomworks&m={%22a%22:1,%22b%22:1,%22c%22:1,%22d%22:5}'">自定义任务<span id="factory_tasks_ownerworks_span"></span></td>
              </tr>
            </table>
          </td>
        </tr>
        <tr>
          <td class="basemenus3_td4"></td>
        </tr>
      </table>
    </div>
    {{/if}}
    {{if $menu->b == 3}}
    <div class="basemenus3_div">
      <table class="basemenus3_table3" cellPadding="0" cellSpacing="0">
        <tr>
          <td class="basemenus3_td1">
            Manage Tasks
          </td>
        <tr>
        <tr>
          <td class="basemenus3_td3">
            <table class="basemenus3_table3" cellPadding="0" cellSpacing="0">
              <tr>
                <td class="basemenus3_td71">无分类</td>
              </tr>
            </table>
          </td>
        </tr>
      </table>
    </div>
  {{/if}}
  {{if $menu->b == 2}}
    <div class="basemenus3_div">
      <table class="basemenus3_table2" cellPadding="0" cellSpacing="0">
        <tr>
          <td class="basemenus3_td1">
            Manage Tasks
          </td>
        <tr>
        <tr>
          <td class="basemenus3_td2"></td>
        </tr>
        <tr>
          <td class="basemenus3_td3">
            <table class="basemenus3_table3" cellPadding="0" cellSpacing="0">
              <tr>
                <td class="basemenus3_td6" {{if $menu->c == 1}} style="color: #ff8800" {{/if}} onclick="location.href='?p=pagefactory&t=pageb2nybranchworks&m={%22a%22:1,%22b%22:2,%22c%22:1}'">纽约分店<span id="factory_tasks_nyBranch_span"></span></td>
              </tr>
              <tr>
                <td class="basemenus3_td6" {{if $menu->c == 2}} style="color: #ff8800" {{/if}} onclick="location.href='?p=pagefactory&t=pageb2sybranchworks&m={%22a%22:1,%22b%22:2,%22c%22:2}'">悉尼分店<span id="factory_tasks_syBranch_span"></span></td>
              </tr>
              <tr>
                <td class="basemenus3_td6" {{if $menu->c == 3}} style="color: #ff8800" {{/if}} onclick="location.href='?p=pagefactory&t=pageb2mbbranchworks&m={%22a%22:1,%22b%22:2,%22c%22:3}'">墨尔本分店<span id="factory_tasks_mbBranch_span"></span></td>
              </tr>
              <tr>
                <td class="basemenus3_td6" {{if $menu->c == 4}} style="color: #ff8800" {{/if}} onclick="location.href='?p=pagefactory&t=pageb2akbranchworks&m={%22a%22:1,%22b%22:2,%22c%22:4}'">奥克兰分店<span id="factory_tasks_akBranch_span"></span></td>
              </tr>
              <tr>
                <td class="basemenus3_td6" {{if $menu->c == 6}} style="color: #ff8800" {{/if}} onclick="location.href='?p=pagefactory&t=pageb2bnbranchworks&m={%22a%22:1,%22b%22:2,%22c%22:6}'">Brisbane<span id="factory_tasks_bnBranch_span"></span></td>
              </tr>
              <tr>
                <td class="basemenus3_td6" {{if $menu->c == 5}} style="color: #ff8800" {{/if}} onclick="location.href='?p=pagefactory&t=pageb2xtbranchworks&m={%22a%22:1,%22b%22:2,%22c%22:5}'">Xtraordinary<span id="factory_tasks_xtBranch_span"></span></td>
              </tr>
            </table>
          </td>
        </tr>
        <tr>
          <td class="basemenus3_td4"></td>
        </tr>
      </table>
    </div>
  {{/if}}
  {{if $menu->b == 4}}
    <div class="basemenus3_div">
      <table class="basemenus3_table2" cellPadding="0" cellSpacing="0">
        <tr>
          <td class="basemenus3_td1">
            Manage Tasks
          </td>
        <tr>
        <tr>
          <td class="basemenus3_td2"></td>
        </tr>
        <tr>
          <td class="basemenus3_td3">
            <table class="basemenus3_table3" cellPadding="0" cellSpacing="0">
              <tr>
                <td class="basemenus3_td6" {{if $menu->c == 1}} style="color: #ff8800" {{/if}} onclick="location.href='?p=pagefactory&t=pageb4nybranchparcels&m={%22a%22:1,%22b%22:4,%22c%22:1}'">纽约分店<span id="factory_tasks_nycParcel_span"></span></td>
              </tr>
              <tr>
                <td class="basemenus3_td6" {{if $menu->c == 2}} style="color: #ff8800" {{/if}} onclick="location.href='?p=pagefactory&t=pageb4sybranchparcels&m={%22a%22:1,%22b%22:4,%22c%22:2}'">悉尼分店<span id="factory_tasks_sydParcel_span"></span></td>
              </tr>
              <tr>
                <td class="basemenus3_td6" {{if $menu->c == 3}} style="color: #ff8800" {{/if}} onclick="location.href='?p=pagefactory&t=pageb4mbbranchparcels&m={%22a%22:1,%22b%22:4,%22c%22:3}'">墨尔本分店<span id="factory_tasks_melParcel_span"></span></td>
              </tr>
              <tr>
                <td class="basemenus3_td6" {{if $menu->c == 4}} style="color: #ff8800" {{/if}} onclick="location.href='?p=pagefactory&t=pageb4akbranchparcels&m={%22a%22:1,%22b%22:4,%22c%22:4}'">奥克兰分店<span id="factory_tasks_aklParcel_span"></span></td>
              </tr>
              <tr>
                <td class="basemenus3_td6" {{if $menu->c == 6}} style="color: #ff8800" {{/if}} onclick="location.href='?p=pagefactory&t=pageb4bnbranchparcels&m={%22a%22:1,%22b%22:4,%22c%22:6}'">Brisbane<span id="factory_tasks_bneParcel_span"></span></td>
              </tr>
              <tr>
                <td class="basemenus3_td6" {{if $menu->c == 5}} style="color: #ff8800" {{/if}} onclick="location.href='?p=pagefactory&t=pageb4xtbranchparcels&m={%22a%22:1,%22b%22:4,%22c%22:5}'">Xtraordinary<span id="factory_tasks_xtraoParcel_span"></span></td>
              </tr>
            </table>
          </td>
        </tr>
        <tr>
          <td class="basemenus3_td4"></td>
        </tr>
      </table>
    </div>
  {{/if}}
  {{if $menu->b == 5}}
    <div class="basemenus3_div">
      <table class="basemenus3_table2" cellPadding="0" cellSpacing="0">
        <tr>
          <td class="basemenus3_td1">
            Manage Tasks
          </td>
        <tr>
        <tr>
          <td class="basemenus3_td2"></td>
        </tr>
        <tr>
          <td class="basemenus3_td3">
            <table class="basemenus3_table3" cellPadding="0" cellSpacing="0">
              <tr>
                <td class="basemenus3_td6" {{if $menu->c == 1}} style="color: #ff8800" {{/if}} onclick="location.href='?p=pagefactory&t=pageb4miscbranchparcels&m={%22a%22:1,%22b%22:5,%22c%22:1}'">纽约分店<span id="factory_tasks_nycParcel_span"></span></td>
              </tr>
              <tr>
                <td class="basemenus3_td6" {{if $menu->c == 2}} style="color: #ff8800" {{/if}} onclick="location.href='?p=pagefactory&t=pageb4miscbranchparcels&m={%22a%22:1,%22b%22:5,%22c%22:2}'">悉尼分店<span id="factory_tasks_sydParcel_span"></span></td>
              </tr>
              <tr>
                <td class="basemenus3_td6" {{if $menu->c == 3}} style="color: #ff8800" {{/if}} onclick="location.href='?p=pagefactory&t=pageb4miscbranchparcels&m={%22a%22:1,%22b%22:5,%22c%22:3}'">墨尔本分店<span id="factory_tasks_melParcel_span"></span></td>
              </tr>
              <tr>
                <td class="basemenus3_td6" {{if $menu->c == 4}} style="color: #ff8800" {{/if}} onclick="location.href='?p=pagefactory&t=pageb4miscbranchparcels&m={%22a%22:1,%22b%22:5,%22c%22:4}'">奥克兰分店<span id="factory_tasks_aklParcel_span"></span></td>
              </tr>
              <tr>
                <td class="basemenus3_td6" {{if $menu->c == 6}} style="color: #ff8800" {{/if}} onclick="location.href='?p=pagefactory&t=pageb4miscbranchparcels&m={%22a%22:1,%22b%22:5,%22c%22:6}'">Brisbane<span id="factory_tasks_bneParcel_span"></span></td>
              </tr>
              <tr>
                <td class="basemenus3_td6" {{if $menu->c == 5}} style="color: #ff8800" {{/if}} onclick="location.href='?p=pagefactory&t=pageb4miscbranchparcels&m={%22a%22:1,%22b%22:5,%22c%22:5}'">Xtraordinary<span id="factory_tasks_xtraoParcel_span"></span></td>
              </tr>
            </table>
          </td>
        </tr>
        <tr>
          <td class="basemenus3_td4"></td>
        </tr>
      </table>
    </div>
  {{/if}}  
{{/if}}